<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";

	String imgWidth = "60";
	String imgHeight = "60";
	String fontStyle = "color: purple; font-size: 12px; cursor: hand; text-decoration: underline;";

	/* 不用动态的
	String src = " src=\""+ path+"/img/MyTicket.jpg" + "\" ";
	String type = " type=\"image\" ";
	String width = " width=\"80\" ";
	String height = " height=\"80\" ";
	String ss = src;
	StringBuffer buf = new StringBuffer();
	buf.append("<html><head></head><body>");
	buf.append("<p>aaa</p>");
	buf.append("<");
	buf.append("input");
	buf.append(type);
	buf.append(src);
	buf.append(width);
	buf.append(height);
	buf.append(">");	
	buf.append("</body></html>");
	out.println(buf.toString());
	out.flush();
	 */
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
	</head>

	<body>
		<table width="100%" border="0" cellspacing="10">

			<!--工作量 -->
			<tr>
				<td align="center" onclick="onClick('statistics/workLoad.do')";>
					<input type="image" src="<%=path%>/img/yhgl.jpg"
						width="<%=imgWidth%>" height="<%=imgHeight%>">
					<br />
					<center style="<%=fontStyle%>">工作量</center>
				</td>
			</tr>


			<!--业务量 -->
			<tr>
				<td align="center" onclick="onClick('statistics/businessLoad.do')";>
					<input type="image" src="<%=path%>/img/yhgl.jpg"
						width="<%=imgWidth%>" height="<%=imgHeight%>">
					<br />
					<center style="<%=fontStyle%>">业务量</center>
				</td>
			</tr>
			
			<!--订单量 -->
			<tr>
				<td align="center" onclick="onClick('statistics/ticketLoad.do')";>
					<input type="image" src="<%=path%>/img/yhgl.jpg"
						width="<%=imgWidth%>" height="<%=imgHeight%>">
					<br />
					<center style="<%=fontStyle%>">订单量</center>
				</td>
			</tr>
			
		</table>

		<SCRIPT LANGUAGE="JavaScript">
	function onClick(action) {
		//parent.frames["rightFrame"].window.location.href = action;	
		parent.document.getElementById("rightFrame").src = action; //以get方式
	}
</SCRIPT>
	</body>
</html>
